home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / alib10.zip / MAC.INC < prev    next >
Text File  |  1994-02-18  |  533b  |  34 lines

  1. ;****************************** MAC.INC *********************************
  2. ; The following macro allows local calls to FAR proc's in our
  3. ; segment.
  4. ;
  5.  
  6. callf        MACRO    xx
  7. ;        push    cs    ;optasm automatically does this for us
  8.         call    xx
  9.         ENDM
  10.  
  11. apush        macro    a,b,c,d,e,f,g,h,i,j
  12.         irp    x,<a,b,c,d,e,f,g,h,i,j>
  13.         ifnb    <x>
  14.         push    x
  15. ;        pushas    x
  16.         else
  17.         exitm
  18.         endif
  19.         endm
  20.         endm
  21.  
  22. apop        macro    a,b,c,d,e,f,g,h,i,j
  23.         irp    x,<a,b,c,d,e,f,g,h,i,j>
  24.         ifnb    <x>
  25.         pop    x
  26. ;        popas    x
  27.         else
  28.         exitm
  29.         endif
  30.         endm
  31.         endm
  32.         
  33.  
  34.